<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/13/013
 * Time: 11:00
 */

namespace app\api\model;


use think\Model;

class Useraddress extends Model
{

    protected $name = 'useraddress';
    // 开启自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';
    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';

    protected $rule = [
        'name' => 'require',
        'user_id' => 'require',
    ];


}